﻿using System;
using Fly.Data;
using FlyWebFrame.Model;

namespace FlyWebFrame.Action
{
    public class newsdetail : homeaction
    {
        public override void Treat()
        {
            int newsid = 0;
            Int32.TryParse(GetParameter(1), out newsid);
            renderNews(newsid);
            current_link = "newsdetail/" + other_lang + "/" + newsid;
        }
    }
}